package com.example.restful.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.restful.common.MaterialState;
import lombok.Data;

import java.math.BigDecimal;

@TableName("material")
@Data
// 实验室物资
public class Material {
    @TableId
    Integer id;
    String name;
    BigDecimal amount;// 金额
    int state = MaterialState.STORED; //默认设置为未借出
}
